package com.youhome.service.mapper;

import com.youhome.service.model.BTemplateHtmlSelected;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BTemplateHtmlSelectedMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BTemplateHtmlSelected record);

    int insertSelective(BTemplateHtmlSelected record);

    BTemplateHtmlSelected selectByPrimaryKey(Long id);

    BTemplateHtmlSelected selectIssueByCompanyId(Long companyId);

    int updateByPrimaryKeySelective(BTemplateHtmlSelected record);

    int updateByPrimaryKey(BTemplateHtmlSelected record);

    int updateIssueByPrimaryKey(Long id);

    int updateCancelIssueByCompanyId(Long companyId);

    List<BTemplateHtmlSelected> selectByBean(BTemplateHtmlSelected record);

    int selectIssueCountByCompanyId(Long companyId);

    int selectIssueCountByShareUUID(String shareUuid);

    int selectIssueCountByCompanyUUID(String uuid);
}